
package com.example.musicapi.common.util;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 
 */
@Data
public class RecommendUser {
	private String id;
	private List<RecommendItem> recommendItemList = new ArrayList<>();


	public RecommendUser() {
	}

	public RecommendUser(String id) {
		this.id = id;
	}

	public RecommendUser set(String movieName, int score) {
		this.recommendItemList.add(new RecommendItem(movieName, score));
		return this;
	}
}